package com.dormitory.management.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.dormitory.management.system.entity.Repair;
import com.dormitory.management.system.resp.RepairResp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 报修表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Mapper
public interface RepairMapper extends BaseMapper<Repair> {

    IPage<RepairResp> getRepairPage(IPage<RepairResp> page, @Param(Constants.WRAPPER) Wrapper<RepairResp> Wrapper);
    IPage<RepairResp> getRepairStuPage(IPage<RepairResp> page, @Param(Constants.WRAPPER) Wrapper<RepairResp> Wrapper);
}
